package com.fishery.authority.service;

import com.fishery.authority.entity.UserRole;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hy
 * @since 2021-01-18
 */
public interface UserRoleService extends IService<UserRole> {

    /**
     * 根据userid查询roleid
     *
     * @param userId
     * @return
     */
    List<UserRole> findRoleIdByUserId(String userId);
}